home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ccccfffffffftttt3333ddddiiii,,,,zzzzfffffffftttt3333ddddiiii((((3333FFFF)))) ccccfffffffftttt3333ddddiiii,,,,zzzzfffffffftttt3333ddddiiii((((3333FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- ccccfffffffftttt3333ddddiiii,,,, zzzzfffffffftttt3333ddddiiii ---- initialize the coefficient array for complex-to-
- complex 3D FFT modules.
-
- SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
- _F_O_R_T_R_A_N _S_P_E_C_I_F_I_C_A_T_I_O_N
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee CCCCFFFFFFFFTTTT3333DDDDIIII(((( nnnn1111,,,, nnnn2222,,,, nnnn3333,,,, ccccooooeeeeffffffff ))))
- iiiinnnntttteeeeggggeeeerrrr nnnn1111,,,, nnnn2222,,,, nnnn3333
- ccccoooommmmpppplllleeeexxxx ccccooooeeeeffffffff((((((((nnnn1111++++11115555)))) ++++ ((((nnnn2222++++11115555)))) ++++ ((((nnnn3333++++11115555))))))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ZZZZFFFFFFFFTTTT3333DDDDIIII(((( nnnn1111,,,, nnnn2222,,,, nnnn3333,,,, ccccooooeeeeffffffff ))))
- iiiinnnntttteeeeggggeeeerrrr nnnn1111,,,, nnnn2222,,,, nnnn3333
- ddddoooouuuubbbblllleeee ccccoooommmmpppplllleeeexxxx ccccooooeeeeffffffff((((((((nnnn1111++++11115555)))) ++++ ((((nnnn2222++++11115555)))) ++++ ((((nnnn3333++++11115555))))))))
-
- _C _S_P_E_C_I_F_I_C_A_T_I_O_N
- ####iiiinnnncccclllluuuuddddeeee <<<<fffffffftttt....hhhh>>>>
- ccccoooommmmpppplllleeeexxxx ****ccccfffffffftttt3333ddddiiii(((( iiiinnnntttt nnnn1111,,,, iiiinnnntttt nnnn2222,,,, iiiinnnntttt nnnn3333,,,, ccccoooommmmpppplllleeeexxxx ****ccccooooeeeeffffffff))));;;;
-
- zzzzoooommmmpppplllleeeexxxx ****zzzzfffffffftttt3333ddddiiii(((( iiiinnnntttt nnnn1111,,,, iiiinnnntttt nnnn2222,,,, iiiinnnntttt nnnn3333,,,, zzzzoooommmmpppplllleeeexxxx ****ccccooooeeeeffffffff))));;;;
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Initialize the coefficient array which is used in the 3D FFT modules.
- This array contains the different twiddle factors and the factorization
- of N1,N2 and N3 into prime numbers.
- As the FFT modules cfft3d or zfft3d only read the _c_o_e_f_f array, it may be
- reused as many times as necessary once it has been initialized.
-
- In C, if _p_t_r is NULL, _c_f_f_t_3_d_i or _z_f_f_t_3_d_i returns a pointer to an
- allocated buffer.
-
- CFFT3DI should be used to initialize the coefficient array before any
- call to CFFT3D
- ZFFT3DI should be used to initialize the coefficient array before any
- call to ZFFT3D
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- NNNN1111 ---- Integer, the first dimension size of the 3D sequence. Unchanged on
- exit.
-
- NNNN2222 ---- Integer, the second dimension size of the 3D sequence. Unchanged on
- exit.
-
- NNNN3333 Integer, the third dimension size of the 3D sequence. Unchanged on
- exit.
-
- CCCCOOOOEEEEFFFFFFFF ---- Array (C or Fortran) or NULL pointer(C).
-
- EEEExxxxaaaammmmpppplllleeee ooooffff CCCCaaaalllllllliiiinnnngggg SSSSeeeeqqqquuuueeeennnncccceeee
- Initializing a coefficient array for complex-to-complex FFTs of size
- 200x300X125
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ccccfffffffftttt3333ddddiiii,,,,zzzzfffffffftttt3333ddddiiii((((3333FFFF)))) ccccfffffffftttt3333ddddiiii,,,,zzzzfffffffftttt3333ddddiiii((((3333FFFF))))
-
-
-
- _F_o_r_t_r_a_n :
- complex coeff((200+15)+(300+15)+(125+15))
- call cfft3di( 200, 300, 125, coeff)
-
- _C :
- #include <fft.h>
- complex *coeff;
- coeff = cfft3di( 200, 300, 125, NULL);
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fft, cfft3d, zfft3d
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-